package com.reservation.service;

import com.reservation.entity.Reservation;

import java.util.List;

public interface ReservationService {
    // 根据预订ID查询预订信息
    Reservation getReservationById(Integer rid);

    // 查询所有预订信息
    List<Reservation> getAllReservations();

    // 插入预订信息
    boolean insertReservation(Reservation reservation);

    // 更新预订信息
    boolean updateReservation(Reservation reservation);

    // 删除预订信息
    boolean deleteReservation(Integer rid);
}
